
package ui.adapter;

import android.content.Context;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.LinearLayoutManager;

import net.ck.hzq.R;

import java.util.List;

import Bean.JiFenRecordBean;
import Bean.SiteAddressBean;
import base.BaseViewHolder;
import base.SuperBaseAdapter;
import cn.finalteam.loadingviewfinal.RecyclerViewFinal;

/**
 * 提现列表适配器
 * Created by chenjian on 19/2/27.
 */
public class SiteAddressAdapter extends SuperBaseAdapter<String> {

    List<String> mData;
    Context mContext;
    int mtype;

    public SiteAddressAdapter(Context context, List<String> data, int type) {
        super(context, data);
        mContext = context;
        mData = data;
        mtype = type;
    }

    @Override
    protected void convert(BaseViewHolder holder, final String item, final int position) {
        holder.setText(R.id.addresstext, item);
    }


    @Override
    protected int getItemViewLayoutId(int position, String item) {
        return R.layout.siteaddress_item;
    }

}
